home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Controls
/
Visual Basic Controls.iso
/
vbcontrol
/
polardrw
/
data.z
/
polardraw.cpp
< prev
next >
Wrap
C/C++ Source or Header
|
1999-05-14
|
49KB
|
2,220 lines
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
// NOTE: Do not modify the contents of this file. If this class is regenerated by
// Microsoft Visual C++, your modifications will be overwritten.
#include "stdafx.h"
#include "polardraw.h"
/////////////////////////////////////////////////////////////////////////////
// CPOLARDraw
IMPLEMENT_DYNCREATE(CPOLARDraw, CWnd)
/////////////////////////////////////////////////////////////////////////////
// CPOLARDraw properties
short CPOLARDraw::GetBorderStyle()
{
short result;
GetProperty(DISPID_BORDERSTYLE, VT_I2, (void*)&result);
return result;
}
void CPOLARDraw::SetBorderStyle(short propVal)
{
SetProperty(DISPID_BORDERSTYLE, VT_I2, propVal);
}
short CPOLARDraw::GetAppearance()
{
short result;
GetProperty(DISPID_APPEARANCE, VT_I4, (void*)&result);
return result;
}
void CPOLARDraw::SetAppearance(short propVal)
{
SetProperty(DISPID_APPEARANCE, VT_I4, propVal);
}
long CPOLARDraw::GetZoom()
{
long result;
GetProperty(0x3e8, VT_I4, (void*)&result);
return result;
}
void CPOLARDraw::SetZoom(long propVal)
{
SetProperty(0x3e8, VT_I4, propVal);
}
BOOL CPOLARDraw::GetDrawGrid()
{
BOOL result;
GetProperty(0x3e9, VT_BOOL, (void*)&result);
return result;
}
void CPOLARDraw::SetDrawGrid(BOOL propVal)
{
SetProperty(0x3e9, VT_BOOL, propVal);
}
BOOL CPOLARDraw::GetDrawGuidelines()
{
BOOL result;
GetProperty(0x3ea, VT_BOOL, (void*)&result);
return result;
}
void CPOLARDraw::SetDrawGuidelines(BOOL propVal)
{
SetProperty(0x3ea, VT_BOOL, propVal);
}
unsigned long CPOLARDraw::GetBackgroundColor()
{
unsigned long result;
GetProperty(0x3eb, VT_I4, (void*)&result);
return result;
}
void CPOLARDraw::SetBackgroundColor(unsigned long propVal)
{
SetProperty(0x3eb, VT_I4, propVal);
}
unsigned long CPOLARDraw::GetPaperColor()
{
unsigned long result;
GetProperty(0x3ec, VT_I4, (void*)&result);
return result;
}
void CPOLARDraw::SetPaperColor(unsigned long propVal)
{
SetProperty(0x3ec, VT_I4, propVal);
}
unsigned long CPOLARDraw::GetGridColor()
{
unsigned long result;
GetProperty(0x3ed, VT_I4, (void*)&result);
return result;
}
void CPOLARDraw::SetGridColor(unsigned long propVal)
{
SetProperty(0x3ed, VT_I4, propVal);
}
unsigned long CPOLARDraw::GetGuidelineColor()
{
unsigned long result;
GetProperty(0x3ee, VT_I4, (void*)&result);
return result;
}
void CPOLARDraw::SetGuidelineColor(unsigned long propVal)
{
SetProperty(0x3ee, VT_I4, propVal);
}
unsigned long CPOLARDraw::GetPaperShadowColor()
{
unsigned long result;
GetProperty(0x3ef, VT_I4, (void*)&result);
return result;
}
void CPOLARDraw::SetPaperShadowColor(unsigned long propVal)
{
SetProperty(0x3ef, VT_I4, propVal);
}
unsigned long CPOLARDraw::GetPaperOutlinecolor()
{
unsigned long result;
GetProperty(0x3f0, VT_I4, (void*)&result);
return result;
}
void CPOLARDraw::SetPaperOutlinecolor(unsigned long propVal)
{
SetProperty(0x3f0, VT_I4, propVal);
}
long CPOLARDraw::GetEditMode()
{
long result;
GetProperty(0x3f1, VT_I4, (void*)&result);
return result;
}
void CPOLARDraw::SetEditMode(long propVal)
{
SetProperty(0x3f1, VT_I4, propVal);
}
long CPOLARDraw::GetCurrentShapeType()
{
long result;
GetProperty(0x3f2, VT_I4, (void*)&result);
return result;
}
void CPOLARDraw::SetCurrentShapeType(long propVal)
{
SetProperty(0x3f2, VT_I4, propVal);
}
BOOL CPOLARDraw::GetDrawPaper()
{
BOOL result;
GetProperty(0x3f3, VT_BOOL, (void*)&result);
return result;
}
void CPOLARDraw::SetDrawPaper(BOOL propVal)
{
SetProperty(0x3f3, VT_BOOL, propVal);
}
BOOL CPOLARDraw::GetDrawPaperOutline()
{
BOOL result;
GetProperty(0x3f4, VT_BOOL, (void*)&result);
return result;
}
void CPOLARDraw::SetDrawPaperOutline(BOOL propVal)
{
SetProperty(0x3f4, VT_BOOL, propVal);
}
BOOL CPOLARDraw::GetDrawPaperShadow()
{
BOOL result;
GetProperty(0x3f5, VT_BOOL, (void*)&result);
return result;
}
void CPOLARDraw::SetDrawPaperShadow(BOOL propVal)
{
SetProperty(0x3f5, VT_BOOL, propVal);
}
long CPOLARDraw::GetVersion()
{
long result;
GetProperty(0x3f6, VT_I4, (void*)&result);
return result;
}
void CPOLARDraw::SetVersion(long propVal)
{
SetProperty(0x3f6, VT_I4, propVal);
}
BOOL CPOLARDraw::GetSnapToGuidelines()
{
BOOL result;
GetProperty(0x3f7, VT_BOOL, (void*)&result);
return result;
}
void CPOLARDraw::SetSnapToGuidelines(BOOL propVal)
{
SetProperty(0x3f7, VT_BOOL, propVal);
}
BOOL CPOLARDraw::GetSnapToGrid()
{
BOOL result;
GetProperty(0x3f8, VT_BOOL, (void*)&result);
return result;
}
void CPOLARDraw::SetSnapToGrid(BOOL propVal)
{
SetProperty(0x3f8, VT_BOOL, propVal);
}
long CPOLARDraw::GetPaperShadowOffset()
{
long result;
GetProperty(0x3f9, VT_I4, (void*)&result);
return result;
}
void CPOLARDraw::SetPaperShadowOffset(long propVal)
{
SetProperty(0x3f9, VT_I4, propVal);
}
long CPOLARDraw::GetViewportOriginX()
{
long result;
GetProperty(0x3fa, VT_I4, (void*)&result);
return result;
}
void CPOLARDraw::SetViewportOriginX(long propVal)
{
SetProperty(0x3fa, VT_I4, propVal);
}
long CPOLARDraw::GetViewportOriginY()
{
long result;
GetProperty(0x3fb, VT_I4, (void*)&result);
return result;
}
void CPOLARDraw::SetViewportOriginY(long propVal)
{
SetProperty(0x3fb, VT_I4, propVal);
}
long CPOLARDraw::GetPageOriginX()
{
long result;
GetProperty(0x3fc, VT_I4, (void*)&result);
return result;
}
void CPOLARDraw::SetPageOriginX(long propVal)
{
SetProperty(0x3fc, VT_I4, propVal);
}
long CPOLARDraw::GetPageOriginY()
{
long result;
GetProperty(0x3fd, VT_I4, (void*)&result);
return result;
}
void CPOLARDraw::SetPageOriginY(long propVal)
{
SetProperty(0x3fd, VT_I4, propVal);
}
long CPOLARDraw::GetPageHeight()
{
long result;
GetProperty(0x3fe, VT_I4, (void*)&result);
return result;
}
void CPOLARDraw::SetPageHeight(long propVal)
{
SetProperty(0x3fe, VT_I4, propVal);
}
long CPOLARDraw::GetPageWidth()
{
long result;
GetProperty(0x3ff, VT_I4, (void*)&result);
return result;
}
void CPOLARDraw::SetPageWidth(long propVal)
{
SetProperty(0x3ff, VT_I4, propVal);
}
long CPOLARDraw::GetHorizontalGrid()
{
long result;
GetProperty(0x400, VT_I4, (void*)&result);
return result;
}
void CPOLARDraw::SetHorizontalGrid(long propVal)
{
SetProperty(0x400, VT_I4, propVal);
}
long CPOLARDraw::GetVerticalGrid()
{
long result;
GetProperty(0x401, VT_I4, (void*)&result);
return result;
}
void CPOLARDraw::SetVerticalGrid(long propVal)
{
SetProperty(0x401, VT_I4, propVal);
}
BOOL CPOLARDraw::GetShowVerticalScrollBar()
{
BOOL result;
GetProperty(0x402, VT_BOOL, (void*)&result);
return result;
}
void CPOLARDraw::SetShowVerticalScrollBar(BOOL propVal)
{
SetProperty(0x402, VT_BOOL, propVal);
}
BOOL CPOLARDraw::GetShowHorizontalScrollBar()
{
BOOL result;
GetProperty(0x403, VT_BOOL, (void*)&result);
return result;
}
void CPOLARDraw::SetShowHorizontalScrollBar(BOOL propVal)
{
SetProperty(0x403, VT_BOOL, propVal);
}
BOOL CPOLARDraw::GetShowVerticalRuler()
{
BOOL result;
GetProperty(0x405, VT_BOOL, (void*)&result);
return result;
}
void CPOLARDraw::SetShowVerticalRuler(BOOL propVal)
{
SetProperty(0x405, VT_BOOL, propVal);
}
BOOL CPOLARDraw::GetShowHorizontalRuler()
{
BOOL result;
GetProperty(0x404, VT_BOOL, (void*)&result);
return result;
}
void CPOLARDraw::SetShowHorizontalRuler(BOOL propVal)
{
SetProperty(0x404, VT_BOOL, propVal);
}
long CPOLARDraw::GetSelectionCount()
{
long result;
GetProperty(0x406, VT_I4, (void*)&result);
return result;
}
void CPOLARDraw::SetSelectionCount(long propVal)
{
SetProperty(0x406, VT_I4, propVal);
}
long CPOLARDraw::GetShapeCount()
{
long result;
GetProperty(0x407, VT_I4, (void*)&result);
return result;
}
void CPOLARDraw::SetShapeCount(long propVal)
{
SetProperty(0x407, VT_I4, propVal);
}
long CPOLARDraw::Get